package com.songleibing.project.pipeline;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 处理器的处理结果
 * 
 * @author leibing.song
 * @see com.songleibing.project.pipeline.impl.BaseHandler#handle(HandlerContext) 
 */
@Getter
@AllArgsConstructor
public enum HandlerResult {
    SUCCESS("S", "成功"),
    FAILURE("F", "失败"),
    ASYNC("A", "异步");

    private String code;
    private String desc;
}
